Skip to content

Conversation

@ukannika
Copy link

Motivation

Added topk_per_row kernel.

Technical Details

Adapted kernel from https://github.com/vllm-project/vllm/blob/29c9cb8007bfc865ec9f8d02a5630eab3d7b6577/csrc/sampler.cu#L58

Test Plan

Added a unit test into op_tests that tests different num_rows

@ukannika ukannika requested a review from valarLip October 25, 2025 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants